#include <libos.h>

#define		VERSION		"0.1"

extern void app_bootsplash();
extern void app_ui();

int app_init()
{
	kprintf("Init (%s)\n", VERSION);
	kprintf("Probing all devices: %d probed\n", device_probe_all(BUS_PCI));
	
	kprintf("Rendering bootsplash in vesa mode\n");
	app_bootsplash();

	kprintf("Mounting / with tarfs\n");
	vfs_mount("ram", "/", "tarfs", NULL);

	kprintf("Mounting /dev with devfs\n");
	vfs_mount("ram", "/dev", "devfs", NULL);

	kprintf("Starting the ui");
	app_ui();

	for(;;);
}



